import { Component, Prop, Vue } from "vue-property-decorator";
import './index.scss'
@Component
export default class test extends Vue {
    @Prop({ type: Object, default: () => ({}) }) detail: any
 public text:any= "123"
 public arr = [1,2,3]
    render(h: any) {
        return (
            <div>
                <span>
                    123
                </span>
            </div>
        )
        
    }

    test(name :any){
        console.log('123');
        console.log(name);
    }

    mounted(){
        this.$watch('text',()=>{
            console.log(this.text);
        })
    }

}